<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>条形码</title>

		<!-- 这种插件可以自由控制条形码的形状 -->
		<script src="zepto.min.js"></script>
		<!-- <script src="jquery-1.8.2.min.js"></script> -->
		<script type="text/javascript" src="JsBarcode.all.min.js.js"></script>
	</head>
	<body>

		<!-- 主要的条形码显示位置 -->
		<canvas id="j_barcode"></canvas>
	</body>

	<script>
		JsBarcode("#j_barcode", "12293339951836",{
			//format: "CODE128",
			//lineColor: "#0aa",
			//width: 1,
			height: 30,
			displayValue: false
		});
		// or with jQuery
		//$("#j_barcode").JsBarcode("Hi!");
		
		
		
		
	</script>
</html>
